package code.c01_introduction.homework;

import java.util.Scanner;

/**
 * @author thinkpad - 83start
 * @version v1.0
 * @create 2022/8/30 21:48
 * @package Week_01
 * @description 拉里的银行问题
 */

class Main {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        double count = 0;

        for (int i = 0; i <12 ; i++) {
            count += scanner.nextDouble();
        }

        // 求12个月的平均数
        double avgMoney = (count / 12) ;
        System.out.println("$" + String.format("%.2f",avgMoney));
    }
}
